function and brases colors redefined