adding debug drawing stuff