Three indices implementation