adding 2d plotting defs