GOTCHA ( solved the race condition )