work with object ids as well as search terms