Added comments for clairity