nitpick, `.length == 0` can be written as `.empty?`