Market Index routines added.