uporaba funkcije popravka točke