opps, add check if the object is the mock