created a 2d case, untested, version 1.1