add main() to deque