Added comments for clarity and renamed a page for clarity.