Added Basic Defense Code