pass parent into instances