adding children method