em working well in 2d