fixing accidental deletion of method