added click handlers.