added ltor and rtol functions