finalized variable confirming function