add blocks.c