Removed extra accel function