Added class to fail message