added support for team points (Closes #1)