transformFromTen now with return value