refacto, directive edit section