lat lon commented for magnitude but not working.