change var obj to obj