Updated delegate to using event and eventargs