removed check from requirement
removed wrong statement
changed thread creation
removed check from include