added DEBUG mode