Added clear method to queue