Put get_view_details function back in; needed it to get the location's ID.