This should work for a basic attack program.