use handler as void function