refactor resource class
refactor resource class
refactor resource class