progress on mean generator