added promptLength