simple index lookup from boolean.