The code looks quite similar to the one I commented on above (not checked that it is the same). Could it be refactored to re-use methods that result from the refactoring mentioned above? Otherwise the same recommendation applies here: Refactor into speaking named methods for clarity.