collapsed the max length conditional since it's covered by the implementation