It works for millennials and Gen X.