added convert pins to points