get events working with given ui