Final Commit - Fully Commented and Cleaned up