some problems with the lat lon calc maybe fixed