helper method for ramya
more array changes
conflict res