Debugging steps (still not properly functional)