change createVolume to createVolumes()