implemented assembleBindings.