Added comments for the curious.