Adding contract about ports interaction to the solution