setup for ai
remove keypress