added comments to the register hotkey