some more code

mostly working, yes without oop