Working on wtd functions.