Add code and documentation