add inline and const