add method to return best task