implementing Sequence in Function
implementing Sequence in Function