function best's skeleton