points difference variable not used