edge coloring depending on numerical variables works!!