getLineNumber() moved from mergeFunctions into utility