resolves #2

not tested, because #1 is missing