use Vectorize if the target is matrix/LIST(ANY)