randomObj() -- working