Inlining functions used once