Added more code to parallel spanner