Added handler for enter