adding popt