hard coding start of inner loop