changes to add queue