merged handler