replaced functions.

Signed-off-by: franszo <josh@kishandchips.com>
debug console-logs

Signed-off-by: franszo <josh@kishandchips.com>