added queries2 files
added dynamic queries to the database