simplified object restrictor