working on initializing the parent properly