rewrote background process - Gary