adding in a debug