adding in some more debug info