focus and keyboard events added