adding docs; defensive check removed.