cosmetics
added debug mode