added ability to handle arrays of presentable elements