fixes #8 by implementing the `origin` property