querybuilder done with minimal functionalities