A first implementation without comments or tests.