added support for inlines