improved code docs.