adds clap detection