working clap detection