re-implement attack

UX needs help
Merge pull request #53 from palmerhyde/reimplementAttack

re-implement attack