Removed some function that I have no idea what it is for
Put it back in as I figured out what it was for