rename local variable event -> e