change into 2d