add back debugging