Debugging

Mistakes on the way