added an indicator when the queue is empty
use named selector
use named selectors
use named selectors