broken solution code