steps involved in the documentation