working2 with object literal