seperated threads into another file
seperated threads into another file