cleaning up code from transfering to a new machine