modified to run on personal machine