more porting - not ready