Added Functions which demos andThen