Foundation studies in fugue