added popts class