added extremely naive location input for events