add set alarm feature