investigating bugs