added very basic functionality for block formattings