still working on rank (which is still broken)
maybe closer...
towards writing ranked spreadsheet