added correct deques