inlined a one-line function