preparing for multithreading, changing the getByLabel  to getByToken