added inline keyword