initial location functionality for add time page (still broken!)