add documentation and model