add expect to install
add alarm callback