made all variables public