transactions should return array or nil