add ObjNode maybe it useless
simple def added
minor changes in sample and def renamed to define