add support for symbols in arrays