Created stats decorator for demo function
Decorator did not return anything