worked on documentation and a bit of code