work on location fetching

not working yet, but close