Style medium09

Error thrown

[] operator not supported for strings