block class for facilitating block life/death