removing inline and boolean (not compatible with Windows builds)