added click functionality and styling