Using proper inheritence