created posToLine