you can now differentiate between error and token