Adding clap func