documentation for sequence