added dry rule to component