this should improve queue performance dramatically.