added cook index