Technical Documentation and code correction