added local and remote interfaces (didn't get done in first attempt)