improved interpretation to allow for better handling of arrays