calls the function