moved x & y properties into a single position property