changing add_block omar will come to the rescue