added documentation - FINAL