removing unnused params from new vision function and made
objectlocations compile