added 'click' functionality