Maybe he's preparing to use either other rinnegan techs or maybe tsukoyomi or something but I don't know it could be a tech the sage must've taught him quickly somehow.