Working with the function