added sales query