I think we don't need the length check. Statement after the "and" alone will do the work.