initial version of dolfin based example