insert white spaces at proper points.