complete write about custom events && some events and their handler some fix