add checks into attacks