why not moving that to the parent class?