simplified handler type signature