all sample programs seem to pass (first pass)

more testing required