worked on report query