added ablitiy to use tpb around a block of code