added actual outputs
added spike response function: