reciever now considers the type of event