added first version of targeting code.