make i const.