removed vectorise