changed BLOCK_PERIOD