started to support value objects (not working yet)