Route 31 to Bonnyrigg was extended around the corner from
Cockpen to Hopefield on September 30, 2007. The new terminus
is on the southern edge of the new housing development built on
the south side of Bonnyrigg.
As the photo shows there is still a lot of open land around
this part of Midlothian.