Made functions an optional arg for sequence. Closed #16