First draft of macro to declare event as map instead of based on record