edited reg port