using Queue table instead of a normal list