added header, added new inputSpike