NEVER TESTED: implemented intial framework described in README