add default- and partly-function and written down first parts of changing to piping functions