reorganized mock port conf