A first attempt to make the FAILURE message appear at the right time