changing parent coding