add gitignore
delegate events