searching and creating bug