made circlesToCords take in x value