Need find bug in method 1