updated with some queries

working on more complex queries/criteria