add classes relating to alarm function