Started implementing Debug output