def set_block_interval(start, end):
    global block_start, block_end
    block_start = start
    block_end = end
def set_block_interval(start, end):
    global block_start, block_end
    block_start = start
    block_end = end