ensure directive