Renaming method to 'pressed'