added docs for sequence() function