inherit assign object