Added comments for additional readability