add fori,popcount