vector iteration core works