Adding queue-size and frequency parameters