Adding the broken code just for comparison purposes