crab3 porting