for can porting and mid