Added space formatting. Need to make a vector of errors for speed.