working on cb.directives.add_attempt