added interface to class that implemented it. Fixes #15