model practically working

Just the graphical implementation is still necessary…