Started working on click detection