moved figures and added examples, to be finished