Removed [String] in function declaration