adding handler class