First Commit

Add descriptive comments for both functions