working on queries for design page