Working PO

fixed(?) CRUD functions.