debug code - temporary code for checking of data capacity and color