now basic queries are done