now the app multithreads