Implemented 1-3. Generation Attacks.