assert + ppe-db funtions