passing scenario into hooked up function callback