add events for all public  method