trying to get events working