Changed creation method to push_back vectors