Add spaces: HoweverHausdorff'smaininterestswereinliteratureandphilosophyandhiscircleoffriendsconsistedalmostentirelyofwritersandartists,suchasthecomposerMaxReger,ratherthanscientists.
However Hausdorff's main interests were in literature and philosophy and his circle of friends consisted almost entirely of writers and artists, such as the composer Max Reger, rather than scientists.