Added 'fail' var