added setuphandlers.