Code reviewed. spaces added.