BB Porting Templates