hadrocing the check for token