cleaned up interaction_manager.py