implement functions
Merge branch 'master' of https://github.com/sebastianstraube/ch.desm.middleware