added Pixel base class