trying to share parent properties with child class