move board into directives