Move use thread to avoid combilation issues