fixed spacing and added comments
fixed spacing and added comments