added public ip option