`first` can be simplified using `next` built-in.