debugging pixel data passing