refactor to use parent class
refactoring for readability, add link to change url