moved volume to persistent class