Keeping the smart in smartphones