Attempt at figuring out some threading to add functionality.