Product function on server