fixed minor coding and styling issues.
fixed minor coding and styling issues.