privatizing variables