simplify handling of multiple tokens