added deque to basic  __init__ file for consistency