add inline for gems