Added String methods to check the output.