separated self and child objects in views