Vectorize is not needed for this example