collect bindings instead of directly printing