porting to corn