Was able to remove this function entirely.