added testing for example purposes