are layouts and modes the same thing? they're used kind of interchangeably here.