Trying to get ApplyEvent working