Working. Lots of debug info