formatting of scratch blocks