james | determining race conditions