Added prelim mouse clicking