fixes #27

Please see #28 for more details.