sech_algorithm in separat file
some doc corrections