adding in more debug