added inline in header declarations