Added debug statements to RMSUtils