can a thesis be at the end of a paper