added setters in Queue object