changed boiling logic for better performace