now return array of attributes for complex expressions