modify Spike
bool generation