minor refactor of `fnc`