Incident function has been added , we still need to work on it.