add some functions to Product Model