Updated events, addded copy function