now that we're working with threads, let's get some thread safety going