- adds points functionality
- adds reset function and option resetAtEnd