thread write ok. now writting controller class