working on thread list adapter