refactored attack table methods to be less verbose