Final commit for second test - fully functioning with commented code.