added 'bad' filed in struct declaration