basic queries working along with fragment transition