finish in function coords