Basic complex types working