added an end tag to the view