adding in additional debug output