fixes #2 by implementing the `origin` property