add move_boucing and key_event