[cubie] first working version