code highlighting and port change