modified for pixelpin