adding two queries