removing commented lines and adding padding