add helper functions at compile time