innovating functions

innovating functions  by calling the var