added keyboard events back