adding multifunction handlers.