Removing function to see if that fixes it