add how method works in class