location display and code