reworked and unified row adding methods
started using color information (not tested yet)