Added comments thanks to IDGS suggestion.