reset variable method documentation