start to add function for products output