Changing fucntion to function