token: return the right kind of data
runcap: Set a non null return value when exiting with error
merged