probably the final modification to this, unless I decide to make it function infinitely, as well as in parallel.