now using an Executor. Did some reading on it and definitely seems like the correct way of doing this. Thanks