implemented event end-time and name text insertion