get getPixel to work