Just `not pos.nil?` would make this a bit more concise. `unless`+`else` is a bit counter-intuitive too.