Added some clarification through comments