#7 added simple sample for #44
Removed warnings