change to ConcurrentQueue to access avls/sql function