remove unnecessary fn wrapper