annotation and thread