working on product instance method in model