created points difference method