added functionality to work with products