Tested with object literals instead