render from array