finished first implementation of color module