added sink to the attack API