vectorise
