added click event and button callbacks
links