changed order of args for inline rendering