documentation updated. sample programs tested