allow for multiple cpu loop