Removed unneccicery function.