Moar sophisticated alarm

Fixes #14