How to write a thesis, which allow for protection?

S