Added back ww functions