first crack at bestmodels function