updated to allow click positioning
updated to allow click positioning