Off line minimum

Simple examples working.