Using scan to loop across differenet length of vectors

yes. Just want to make sure such a model is not as if I ran three different models.