to change AlarmSock into SdkAlarmSock