removing deques.