playing around with callbacks - example.js