added extra optional safety ports, needs to be tested