added functional debug, see config