implementing polaroid