adding handler