Started implementing queue