got rid of setInterval trick to update points one at a time