reverted to almost working version of InverseInline