Not sure why the end block is failing