method moved in the class