first version with alert and sound