correct way to define the * function