Used exported functions in sample2.html