final version with documents