not sure why this approach for 13 isn't working. will try another
error was caused by strange behavior with #{@format}, where it would not output the same string as a puts @format even though it was right before it