switched debugging to logging module
idk