corrected the indenting using gg=G in vim :D