re-worked docs