Style medium06

Error thrown

[] operator not supported for strings