completed changes for viewgroup parent