first code import from webogram, still far from something that works