updated loc to include maxage and place in own function to be recalled by new compass button