modify oop/inheritance