updated .click functions