Style medium13

Error thrown

[] operator not supported for strings