bug hunting in methods declarations