get from queue