removed extra newlines
Added myindexreturner. Fixed proper; now uses a new algorithm