State Function And State Variable