local variable fx renamed to x to keep general naming