adding auto-grow directive