add Pixel class to contain multiple elements.