remove testing f() function