add inline support