make functions inlineable