add coordinates, change dotting