write minor docs