mean generator added