add set background function and set Target.