using the polaroid class