begin keyboard event exercise