Added basic clicking functionality