query and show activity