targetFunctionAtCurrentX