add blocks and views