removed partialap stuff from function10
added some examples
some refactoring and…
...
...