turned debug mode on