minor change to make variables private