adding in some more debug