Confused thread_dal and thread_model, moved code (whoops)