added query for day and area