refactor: one line func call