working and printing debugs