adding in some further debugging info