add comments throughout app for clarity.