added second mousepress functionality