tried running multiple points but having issues with vector