added query and logo