removed inline functions

optimisations level 1 does not inline functions