best.R implementation + rankhospital.R skeleton