implement res target only depened on res target