setup for event checking the format etc