add colors to device separation function