added definition for saved var