change rtt to double