Debug added and ppu changes