added new function to Products model and new testing route