fixes #2 adding documentation