inline detection