queue methods template