added tdd patterns red bar + green bar