Renamed wernet_nilsson function