made to a function