Some corrections + debugging code