added blue, orange, yellow constraints