making and rendering blocks