correct events method definition