added a new function to the function file