make attack functions a little more user friendly where possible