sorry for bad flow. home work enfironment is bad, small fast change
anyways
changed the add event code