used the same code in a single point