added basic on click behavior