add function sequence