removed old Provision class, added some error messages