adding deadlocked tested, working