add function for bridge,opf_bridge