added title control for length