fixed threading issues... tested and working