added filtedChildren to view
made prototype of addChild in view