Attempting to add point total as database variable