tambah thread and devise