No need for event.sprintf(@key) , just use @key as key has no dynamic values , it's just statically set to 'events'