made def protected