Removing undefined function that wasn't needed anyway