added points system, fixed bugs