added simple where clause query and projection