Splitted the logic into smaller methods
Renamed the method processing the renamed variables