added another example, finally a working callback