Implemented working polaroid-like cells