whenObj