Altered parameters and return values for Queue functions