directive.exec should only act on a single element at a time, need to refactor