further work for shapeObj binding with constructor