passing class var