Added methods for modifying the queue for issue #1