add control directive