PhD dissertation or thesis: development stages