added new sequence functions