made every variable a pointer
some debugging, I have to rework the kernel