add-handler sample