add queue method