added autoGrow directive