modified openflow module