replaced `Queue` as `queue`