+ debug mode + tests