added attack patterns and location time switches