Changed debug implementation to output more clearly