0.0.1a: first working implementation