Assign decode output to val
Added genetic type to MetaArray subcon