updated for new pot file