add method to class Words