implemented findByQueue