corrected documentation after doctesting