added documentation for task B (final version)