code documentation

From OSL Demo