added some function
put three geometries, runs, not checked yet
forward, with a bug I don't understand
forward, with a bug I don't understand