add "ends here" comment at the end