Spotting the early signs of dementia