major rework of bindings and rendering