refactoring subcorrelation.rb