added click handlers, borders and padding.