let-optionals embedded in string, should be refactored in the future