Feature/issue208

implemented function as described in #208. no test case.