added the Targeting object to code.