Solution to ONP problem