added accel code and bot class