fixed returning threads, changed some variable names, got subjects