added a simple man in the middle