first version. No tests.