change fields to private