check for bugs