This is an appeal from a judgment under Mass. R. Civ. P. 56,
The record, properly developed, before the motion judge is as follows. On March 18, 1983, twelve year old Christopher Tryon, a student at the Joseph Pyne School, Lowell, was struck by a freight train as he walked alongside the Boston and Maine railroad tracks abutting school property. He was on his way to school and intended to enter the school property, as he and other students had done in the past, by going through a hole in a fence the city had erected in the early 1960’s, which separated the school from the railroad tracks. Tryon suffered severe injuries and disfigurement as a result of his being struck by a train. Through his father as next friend, Tryon brought an action in Superior Court alleging that the Boston and Maine Corporation negligently caused his injuries. In an amended complaint, Tryon added the city as a defendant pursuant to the Massachusetts Tort Claims Act, G. L. c. 258, § 2, under the theory that the city had been negligent in failing to maintain the fence it had erected. Had the fence been maintained, the complaint alleged, Tryon *722 would not have chosen to take the dangerous route to school that he did.
1.
Duty of care owed to Tryon at locations off city property.
The Massachusetts Tort Claims Act imposes liability on municipalities “in the same manner and to the same extent as a private individual under like circumstances . . . .” G. L. c. 258, § 2, as appearing in St. 1978, c. 512, § 15. A private landowner owes a duty of reasonable care to protect lawful entrants against foreseeable dangers on adjacent property.
Polak
v.
Whitney, 21
Mass. App. Ct. 349, 351-352 (1985). See
Johnson
v.
Chateau DeVille, Inc.,
The question whether it was foreseeable that someone like Tryon might be hurt because of the hole in the fence is a question of fact, not law. The degree of care constituting reasonable care which the city must exercise is determined by considering, inter alla, the class of people to whom the duty extends. Thus, the city was bound to consider that young school children are “predictably irresponsible.”
Scott
v.
Thompson,
2.
Duty to Tryon beyond that owed to general public.
The city argued that Tryon was too temporally remote a plaintiff for the city to owe a particular duty to him. The degree of care the city owed to Tryon, whether a special duty of care or only that owed to the general public, is dictated by the nexus between Tryon and the city, a question of fact. See
Irwin
v.
Ware,
In the instant case, as we have observed, there was deposition testimony that the city knew of the school children’s propensity to walk along the tracks and enter the school property through the hole in the fence. Under an Irwin, analysis, a fact finder could determine that by not fixing the hole in the fence, the city exposed an identifiable category of its inhabitants, i.e., the students of the Pyne School, to harm which the city had anticipated.
3.
The discretionary function exemption.
Section 10(6) of the Massachusetts Tort Claims Act exempts a municipality from tort liability under a claim which is based on the per
*724
formance of a “discretionary function or duty on the part of a public employer or public employee . . . . “ G. L. c. 258, § 10(6), as appearing in St. 1978, c. 512, § 15. This exemption from tort liability extends to functions which involve policy judgments, planning, or the exercise of discretion. See
Whitney
v.
Worcester,
On our view of the case, there are several issues of material fact to be resolved, among them: whether the city was aware of the hole in the fence; how long the hole had been
*725
there; whether the city was aware of the hazard to the students; whether Tryon had been warned away from the railroad tracks; whether Tryon had played “chicken” although well aware of the danger; what conduct can be expected of school children of his age if they have been warned of danger.
4
Where disputed issues of material fact exist, an entry of summary judgment is improper. See Mass.R.Civ.P. 56(c),
So ordered.
Notes
The Boston and Maine Corporation was also named in the complaint as a defendant. After the city’s motion for summary judgment was allowed, final judgment in favor of the city was entered pursuant to Mass.R.Civ.P. 54(b),
We, of course, do not mean to intimate that this list limits the facts which may be disputed at trial.
