deprecating old debug, adding new