alarm set up
add min and max