Properly capturing the args to the callback lambda