vectorizes