fixing indent, spacing and adding comment