added rankhospital alternative solution to best.R