porting / formatting