set up block rendering