implement time based alarm scaling