new constant in getpoint
current changed to curr