optimized findx functions