Refactored often used method with the same name into HeuristicTools