supply object to callback as argument