adding d key to events