added new queries to database