api for orphans, with/out trash