removed randomness from attack