added parseArray function to Render class.