checking for `.length` shouldn't be necessary anymore