Roughly working prototype