Title. Mat flow for classes