Only debugging changes

Found the bugs not working code now going to fix it