fixes #89 by introducing a new method and a unit test