Implementing profiles and events