T: adding skelton code for events edit