Replaced (x,y) coordinated by Vectors