modified api ram index