Fixed name of a function to avoid errors