reminder to add profiling related code to events