modified paintTargets