next steps towards #58 and #59

At the time being I do not think about a generic solution for arrays...