replaced the element 'points' with the var number